package org.zjx.analysis.analyze.tap;


import org.zjx.command.util.ImageUtil;
import org.zjx.window.window.IWindow;

import java.awt.*;
import java.awt.image.BufferedImage;
import java.util.Collections;

public class GZJSKTabAnalysis extends BaseTabAnalysis {

    public GZJSKTabAnalysis(IWindow window) {
        super("国子监书库", window);
    }

    @Override
    public Rectangle getContentArea() {
        return ImageUtil.createRect(10, 80, 393, 364);
    }

    @Override
    protected void initResources() {

    }

    @Override
    public Rectangle closeArea() {
        return null;
    }

    @Override
    public Rectangle getOriginBounds() {
        return ImageUtil.createRect(160, 91, 638, 484);
    }

    @Override
    public Rectangle getRefImageArea() {
        return ImageUtil.createRect(204, 24, 273, 37);
    }

    @Override
    public BufferedImage getRefImage() {
        BufferedImage bufferedImage = ImageUtil.createImage("iVBORw0KGgoAAAANSUhEUgAAAEYAAAAOCAYAAACSJWqFAAAFcElEQVR42qVWiVeTRxDPP9aiiBZFkYQE5CiHHBbLQw6xtiLwpC19AbQWCRAICSSAKEeKEDUih4IQoigqyuWBVMUDUJGi8ux0Z5ZvSUiCpJ33fi8zu7O7s7+ZnS8yH2UF7IqpgeSsVoZzX0Ar7GS+uGYtvlJ4AXm50NWlVyE1t530r4MrQHf6hou/u/MQx7W9EJ7cIOyAqGrIKerw6O+IjDwLZBd2eIxR5htaCd7KJhXffGtY1cbXKCsFKVlqKzRZ7pK99GEZBoamSU/NaSffjVwMgaKtHRQ2Jg7l5ex72BFlEOOKhFooM9qgos4uMPXXPPk6jiE01QOwZU8VyIIT68hhW4SeEBBdQ9jJNpZ0BJ+rJt/dcSZGTiVBHm+CPd+fhtD9zsBMXhl4SP7PXy6Aj6KMgMSYL4zAwuJHsj98XAbbzWm6wLlL98i/WN8vgFXhG6oT5/lHrsaFYmy66RRn0uEWkQxp3cMnc14lPiqlHmTKfZwY6aD1JGRfLf0GMWI2K7UekV/cJdaoS7oFKRJciXlCujtZXv4MwfFG2vebcN2GLhabdhbqzbdoDRLzanYRrD0TpEsx9l+fghmWMNf4ywgyVSK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gf0zJ83xFht4yAERrLm6ys/7nUTdQxOyvhaOVbYBpt2F7mgwTzo9XkYrCdikGR3cxJMZ20uMUtA8ujzLue2Y5wyaQAntyhOrAt3G0jwDzkJCWlGiE7WMx82Fqj+73Cz/1pgHOnZZ2H3t5p1/XA+7kCN27gxzoM5jc7jKzH8CxRU6ZL610j/AAAAAElFTkSuQmCC");
        return ImageUtil.makeColorsTransparent(bufferedImage, Collections.singletonList(Color.WHITE));
    }
}
